package com.dayatang.exam.domain;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * 问答�?
 * 
 * @author yang
 * 
 */
@Entity
@DiscriminatorValue("Q")
public class QuizQuestion extends Question {
	private static final long serialVersionUID = -2115703999982112311L;

	@Override
	public String getTypeName() {
		return Question.TYPE_QUIZ;
	}
	
	public static QuizQuestion get(Long id) {
		return getRepository().get(QuizQuestion.class, id);
	}
}
